#include "comm.hpp"

int main()
{
    FifoHandler fifo(PATH, FILENAME, false);
    fifo.OpenForWrite();

    std::string input;
    while (true) 
    {
        std::cout << "Enter message: ";
        std::getline(std::cin, input);

        if (input == "exit")
        {
            break;
        }
        fifo.Write(input);
    }
    

    std::cout<< "Write end exit" << std::endl;
    return 0; 
}
